package com.yc.navy.goods.service;

import java.util.List;
import java.util.Map;

import com.yc.navy.goods.bean.MemberInfo;
import com.yc.navy.goods.dto.PasswordDTO;
import com.yc.navy.goods.dto.PayInfoDTO;
import com.yc.navy.goods.vo.StreamVO;

public interface IMemberInfoService {
	int reg(MemberInfo mf);
	
	MemberInfo login(MemberInfo mf);
	
	String getRepwdEmail(MemberInfo mf);
	
	int repassword(MemberInfo mf);
	
	/**
	 * 查询用户成员
	 * @return
	 */
	List<MemberInfo> finds();

	StreamVO findByPageForBack(Map<String, Object> map);
	
	int addNumber(long mid);
	
	int updateprice(PayInfoDTO pay);
	
	int updateMember(MemberInfo mf);
	
	int updatepassword(PasswordDTO pwd);
	
	MemberInfo rechecklogin(Integer mid);
	
	Integer updataPhoto(Map<String,Object> map);
}
